﻿<!DOCTYPE html>
<html>
<head>
	<title></title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<!-- basic styles -->
		<link href="assets/css/bootstrap.min.css" rel="stylesheet" />
		<link rel="stylesheet" href="assets/css/ace.min.css" />
		<script src="/jquery/jquery.js"></script>
		<script src="/jquery/jquery.min.js"></script>
</head>
<body>
	<div class="navbar navbar-default" id="navbar">
			<script type="text/javascript">
				try{ace.settings.check('navbar' , 'fixed')}catch(e){}
			</script>

			<div class="navbar-container" id="navbar-container">
				<div class="navbar-header pull-left">
					<a href="#" class="navbar-brand">
						<small>
							<i class="icon-leaf"></i>
							施工组织智能编辑系统
						</small>
					</a><!-- /.brand -->
				</div><!-- /.navbar-header -->

				<div class="navbar-header pull-right" role="navigation">
					<button type="button" class="btn btn-info btn-sm" style="margin-right:20px;margin-top:5px;">个人信息</button>
					<button type="button" class="btn btn-warning btn-sm" id="logout" style="margin-top:5px;">退出登录</button>
				</div><!-- /.navbar-header -->
			</div><!-- /.container -->
		</div>
<script type="text/javascript">
$('#logout').on('click',function(){
	var com =confirm('确定要退出吗?');
			if(com != true)
			{
					return;
			}
			else {
				window.location.href = '/auth/logout';
			}
});
</script>
</body>
</html>
